package org.yangspring.samples.mvc.domainOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.criteria.CriteriaBuilder;
import javax.print.attribute.IntegerSyntax;
import java.util.Date;

/**
 * Created by franklin on 6/24/2017.
 */

@Entity
@Table(schema = "SYS", name = "V_$DATAFILE")
public class Vdatafile {

    @Id
    @Column(name = "NAME")
    private String name;
    @Column(name = "FILE#")
    private Integer fileId;
//    @Column(name = "CREATION_CHANGE#")
//    private Integer creationChangeId;
    @Column(name = "CREATION_TIME")
    private Date creationTime;
    @Column(name = "TS#")
    private Integer tsId;
    @Column(name = "RFILE#")
    private Integer rFileId;
    @Column(name = "STATUS")
    private String status;
    @Column(name = "ENABLED")
    private String enabled;
//    @Column(name = "CHECKPOINT_CHANGE#")
//    private Integer checkPointChangeId;
    @Column(name = "CHECKPOINT_TIME")
    private Date checkPointTime;
//    @Column(name = "UNRECOVERABLE_CHANGE#")
//    private Integer unRecoverableChangeId;
//    @Column(name = "UNRECOVERABLE_TIME")
//    private Integer unRecoverableTime;
//    @Column(name = "LAST_CHANGE#")
//    private Integer lastChangeId;
//    @Column(name = "LAST_TIME")
//    private Date lastTime;
//    @Column(name = "OFFLINE_CHANGE#")
//    private Integer offLineChangeId;
//    @Column(name = "ONLINE_CHANGE#")
//    private Integer onLineChangeId;
    @Column(name = "ONLINE_TIME")
    private Date onLineTime;
    @Column(name = "BYTES")
    private Integer bytes;
    @Column(name = "BLOCKS")
    private Integer blocks;
//    @Column(name = "CREATE_BYTES")
//    private Integer createBytes;
//    @Column(name = "BLOCK_SIZE")
//    private Integer blockSize;
//    @Column(name = "PLUGGED_IN")
//    private Integer plugIn;
//    @Column(name = "BLOCK1_OFFSET")
//    private Integer block1Offset;
//    @Column(name = "AUX_NAME")
//    private String auxName;
//    @Column(name = "FIRST_NONLOGGED_SCN")
//    private Integer firstNonLogSvcn;
//    @Column(name = "FIRST_NONLOGGED_TIME")
//    private Date firstNonLogTime;
//    @Column(name = "FOREIGN_DBID")
//    private Integer foreignDBID;
//    @Column(name = "FOREIGN_CREATION_CHANGE#")
//    private Integer foreignCreationChangeId;
//    @Column(name = "FOREIGN_CREATION_TIME")
//    private Date foreignCreationTime;
//    @Column(name = "PLUGGED_READONLY")
//    private String plugReadOnly;
//    @Column(name = "PLUGIN_CHANGE#")
//    private Integer plugChangeId;
//    @Column(name = "PLUGIN_RESETLOGS_CHANGE#")
//    private Integer plugResetLogChangeId;
//    @Column(name = "PLUGIN_RESETLOGS_TIME")
//    private Date plugResetLogTime;
//    @Column(name = "CON_ID")
//    private Integer conId;

    public void setFileId(Integer fileId){
        this.fileId = fileId;
    }
    public Integer getFileId(){
        return this.fileId;
    }
//    public void setCreationChangeId(Integer creationChangeId){
//        this.creationChangeId = creationChangeId;
//    }
//    public Integer getCreationChangeId(){
//        return this.creationChangeId;
//    }
    public void setCreationTime(Date creationTime){
        this.creationTime = creationTime;
    }
    public Date getCreationTime(){
        return this.creationTime;
    }
    public void setTsId(Integer tsId){
        this.tsId = tsId;
    }
    public Integer getTsId(){
        return this.tsId;
    }
    public void setrFileId(Integer rFileId){
        this.rFileId = rFileId;
    }
    public Integer getrFileId(){
        return this.rFileId;
    }
    public void setStatus(String status){
        this.status = status;
    }
    public String getStatus(){
        return this.status;
    }
    public void setEnabled(String enabled){
        this.enabled = enabled;
    }
    public String getEnabled(){
        return this.enabled;
    }
//    public void setCheckPointChangeId(Integer checkPointChangeId){
//        this.checkPointChangeId = checkPointChangeId;
//    }
//    public Integer getCheckPointChangeId(){
//        return this.checkPointChangeId;
//    }
    public void setCheckPointTime(Date checkPointTime){
        this.checkPointTime = checkPointTime;
    }
    public Date getCheckPointTime(){
        return this.checkPointTime;
    }
//    public void setUnRecoverableChangeId(Integer unRecoverableChangeId){
//        this.unRecoverableChangeId = unRecoverableChangeId;
//    }
//    public Integer getUnRecoverableChangeId(){
//        return this.unRecoverableChangeId;
//    }
//    public void setUnRecoverableTime(Integer unRecoverableTime){
//        this.unRecoverableTime = unRecoverableTime;
//    }
//    public Integer getUnRecoverableTime(){
//        return this.unRecoverableTime;
//    }
//    public void setLastChangeId(Integer lastChangeId){
//        this.lastChangeId = lastChangeId;
//    }
//    public Integer getLastChangeId(){
//        return this.lastChangeId;
//    }
//    public void setLastTime(Date lastTime){
//        this.lastTime = lastTime;
//    }
//    public Date getLastTime(){
//        return this.lastTime;
//    }
//    public void setOffLineChangeId(Integer offLineChangeId){
//        this.offLineChangeId = offLineChangeId;
//    }
//    public Integer getOffLineChangeId(){
//        return this.offLineChangeId;
//    }
//    public void setOnLineChangeId(Integer onLineChangeId){
//        this.onLineChangeId = onLineChangeId;
//    }
//    public Integer getOnLineChangeId(){
//        return this.onLineChangeId;
//    }
    public void setOnLineTime(Date onLineTime){
        this.onLineTime = onLineTime;
    }
    public Date getOnLineTime(){
        return this.onLineTime;
    }
    public void setBytes(Integer bytes){
        this.bytes = bytes;
    }
    public Integer getBytes(){
        return this.bytes;
    }
    public void setBlocks(Integer blocks){
        this.blocks = blocks;
    }
    public Integer getBlocks(){
        return this.blocks;
    }
//    public void setCreateBytes(Integer createBytes){
//        this.createBytes = createBytes;
//    }
//    public Integer getCreateBytes(){
//        return this.createBytes;
//    }
//    public void setBlockSize(Integer blockSize){
//        this.blockSize = blockSize;
//    }
//    public Integer getBlockSize(){
//        return this.blockSize;
//    }
    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }
//    public void setPlugIn(Integer plugIn){
//        this.plugIn = plugIn;
//    }
//    public Integer getPlugIn(){
//        return this.plugIn;
//    }
//    public void setBlock1Offset(Integer block1Offset){
//        this.block1Offset = block1Offset;
//    }
//    public Integer getBlock1Offset(){
//        return this.block1Offset;
//    }
//    public void setAuxName(String auxName){
//        this.auxName = auxName;
//    }
//    public String getAuxName(){
//        return this.auxName;
//    }
//    public void setFirstNonLogSvcn(Integer firstNonLogSvcn){
//        this.firstNonLogSvcn = firstNonLogSvcn;
//    }
//    public Integer getFirstNonLogSvcn(){
//        return this.firstNonLogSvcn;
//    }
//    public void setFirstNonLogTime(Date firstNonLogTime){
//        this.firstNonLogTime = firstNonLogTime;
//    }
//    public Date getFirstNonLogTime(){
//        return this.firstNonLogTime;
//    }
//    public void setForeignDBID(Integer foreignDBID){
//        this.foreignDBID = foreignDBID;
//    }
//    public Integer getForeignDBID(){
//        return this.foreignDBID;
//    }
//    public void setForeignCreationChangeId(Integer foreignCreationChangeId){
//        this.foreignCreationChangeId = foreignCreationChangeId;
//    }
//    public Integer getForeignCreationChangeId(){
//        return this.foreignCreationChangeId;
//    }
//    public void setForeignCreationTime(Date foreignCreationTime){
//        this.foreignCreationTime = foreignCreationTime;
//    }
//    public Date getForeignCreationTime(){
//        return this.foreignCreationTime;
//    }
//    public void setPlugReadOnly(String plugReadOnly){
//        this.plugReadOnly = plugReadOnly;
//    }
//    public String getPlugReadOnly(){
//        return this.plugReadOnly;
//    }
//    public void setPlugChangeId(Integer plugChangeId){
//        this.plugChangeId = plugChangeId;
//    }
//    public Integer getPlugChangeId(){
//        return this.plugChangeId;
//    }
//    public void setPlugResetLogChangeId(Integer plugResetLogChangeId){
//        this.plugResetLogChangeId = plugResetLogChangeId;
//    }
//    public Integer getPlugResetLogChangeId(){
//        return this.plugResetLogChangeId;
//    }
//    public void setPlugChangeId(Date plugResetLogTime){
//        this.plugResetLogTime = plugResetLogTime;
//    }
//    public Date getPlugResetLogTime(){
//        return this.plugResetLogTime;
//    }
//    public void setConId(Integer conId){
//        this.conId = conId;
//    }
//    public Integer getConId(){
//        return this.conId;
//    }

}
